# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Judete)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Judete_SRCS judeteplugin.cpp judete.cpp)
QT4_WRAP_CPP(Judete_SRCS judeteplugin.h judete.h)
QT4_WRAP_UI(Judete_SRCS judete.ui)
QT4_ADD_RESOURCES(Judete_SRCS judete.qrc)

add_library(Judete SHARED ${Judete_SRCS})
add_dependencies(Judete KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Judete KontAMabil ${QT_LIBRARIES})

install(TARGETS Judete ${INSTALL_PLUGINS_DEFAULT_ARGS})
